﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using DocumentManagement.Models;
using System.Windows;

namespace DocumentManagement.ViewsModels
{
  public  class ShowItemFileOutViewsModel : ViewsModelBase
    {

        private QSHCEntities1 _entityModels;
        public QSHCEntities1 EntityModels
        {
            get { return _entityModels; }
            set
            {
                if (_entityModels != value)
                {
                    _entityModels = value;
                    OnPropertyChanged("EntityModels");
                }
            }
        }


        private CreateSend _mySend;
        public CreateSend MySend
        {
            get { return _mySend; }
            set
            {
                if (_mySend != value)
                {
                    _mySend = value;
                    OnPropertyChanged("MySend");
                }
            }
        }
        private ScanSendAttached _selectedAttachFile;
        public ScanSendAttached SelectedAttachFile
        {
            get { return _selectedAttachFile; }
            set
            {
                if (_selectedAttachFile != value)
                {
                    _selectedAttachFile = value;
                    OnPropertyChanged("SelectedAttachFile");
                }
            }
        }



        public ShowItemFileOutViewsModel()
        {
            if (!DesignerProperties.GetIsInDesignMode(new DependencyObject()))
            {
                EntityModels = new QSHCEntities1();
               
            }
        }


    }
}
